package co.yixiang.modules.activity.entity.vo;

import cn.hutool.core.bean.BeanUtil;
import co.yixiang.modules.activity.entity.domain.YxStoreCoupon;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class YxStoreCouponVo {
    @ApiModelProperty(value = "无法使用原因")
    private String reason;

    public YxStoreCouponVo(YxStoreCoupon memberCoupon, String reason) {
        BeanUtil.copyProperties(memberCoupon, this);
        this.reason = reason;
    }

}
